package com.aqarat.entity.resultsetmapping;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Entity implementation class for Entity: PaymentResultSet
 * 
 */
@Entity
public class PaymentResultSet implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private Long recid;

	private Double money;
	private Long isFirstPayment;
	private Date paymentDate;
	private Date dateFrom;
	private Date dateTo;
	private Long customerId;
	private String customerName;
	private Long paymentStatusId;
	private String paymentStatus;

	private Long apartmentId;
	private Long floorId;
	private Long buildingId;

	public PaymentResultSet() {
		super();
	}

	public PaymentResultSet(Long recid, Double money, Date paymentDate, String paymentStatus) {
		super();
		this.recid = recid;
		this.money = money;
		this.paymentDate = paymentDate;
		this.paymentStatus = paymentStatus;
	}

	public PaymentResultSet(Long recid, Double money, Date paymentDate, String paymentStatus, Long customerId) {
		super();
		this.recid = recid;
		this.money = money;
		this.paymentDate = paymentDate;
		this.paymentStatus = paymentStatus;
		this.customerId = customerId;
	}

	public PaymentResultSet(Long recid, Double money, Date paymentDate, String paymentStatus, Long customerId, String customerName) {
		super();
		this.recid = recid;
		this.money = money;
		this.paymentDate = paymentDate;
		this.paymentStatus = paymentStatus;
		this.customerId = customerId;
		this.customerName = customerName;
	}

	public PaymentResultSet(Long recid, Double money, Date paymentDate, Long paymentStatusId, String paymentStatus, Long customerId, String customerName) {
		super();
		this.recid = recid;
		this.money = money;
		this.paymentDate = paymentDate;
		this.paymentStatusId = paymentStatusId;
		this.paymentStatus = paymentStatus;
		this.customerId = customerId;
		this.customerName = customerName;
	}

	public PaymentResultSet(Long recid, Double money, Date paymentDate, Long paymentStatusId, String paymentStatus, Long customerId, String customerName, Long apartmentId, Long isFirstPayment) {
		super();
		this.recid = recid;
		this.money = money;
		this.paymentDate = paymentDate;
		this.paymentStatusId = paymentStatusId;
		this.paymentStatus = paymentStatus;
		this.customerId = customerId;
		this.customerName = customerName;
		this.apartmentId = apartmentId;
		this.isFirstPayment = isFirstPayment;
	}

	public PaymentResultSet(Long recid, Double money, Date paymentDate, Long paymentStatusId, String paymentStatus, Long customerId, String customerName, Long apartmentId, Long isFirstPayment, Long floorId, Long buildingId) {
		super();
		this.recid = recid;
		this.money = money;
		this.paymentDate = paymentDate;
		this.paymentStatusId = paymentStatusId;
		this.paymentStatus = paymentStatus;
		this.customerId = customerId;
		this.customerName = customerName;
		this.apartmentId = apartmentId;
		this.isFirstPayment = isFirstPayment;
		this.floorId = floorId;
		this.buildingId = buildingId;
	}

	@Override
	public String toString() {
		return "PaymentResultSet [recid=" + recid + ", money=" + money + ", isFirstPayment=" + isFirstPayment + ", paymentDate=" + paymentDate + ", dateFrom=" + dateFrom + ", dateTo=" + dateTo + ", customerId=" + customerId + ", customerName=" + customerName + ", paymentStatusId=" + paymentStatusId + ", paymentStatus=" + paymentStatus + ", apartmentId=" + apartmentId + ", floorId=" + floorId + ", buildingId=" + buildingId + "]";
	}

	public Long getRecid() {
		return this.recid;
	}

	public void setRecid(Long recid) {
		this.recid = recid;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Long getIsFirstPayment() {
		return isFirstPayment;
	}

	public void setIsFirstPayment(Long isFirstPayment) {
		this.isFirstPayment = isFirstPayment;
	}

	public Date getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}

	public Date getDateFrom() {
		return dateFrom;
	}

	public void setDateFrom(Date dateFrom) {
		this.dateFrom = dateFrom;
	}

	public Date getDateTo() {
		return dateTo;
	}

	public void setDateTo(Date dateTo) {
		this.dateTo = dateTo;
	}

	public Long getApartmentId() {
		return apartmentId;
	}

	public void setApartmentId(Long apartmentId) {
		this.apartmentId = apartmentId;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public String getPaymentStatus() {
		return paymentStatus;
	}

	public void setPaymentStatus(String paymentStatus) {
		this.paymentStatus = paymentStatus;
	}

	public Long getPaymentStatusId() {
		return paymentStatusId;
	}

	public void setPaymentStatusId(Long paymentStatusId) {
		this.paymentStatusId = paymentStatusId;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCustomerName() {
		return customerName;
	}

	public final Long getFloorId() {
		return floorId;
	}

	public final void setFloorId(Long floorId) {
		this.floorId = floorId;
	}

	public final Long getBuildingId() {
		return buildingId;
	}

	public final void setBuildingId(Long buildingId) {
		this.buildingId = buildingId;
	}

}
